package jnitest.com.fengy.ye.lambdatest;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.tv).setOnClickListener(view -> Toast.makeText(MainActivity.this, "hello", Toast.LENGTH_LONG).show());



    }
}
